Clip cairo drawing against client-side child windows
authorAlexander Larsson <alexl@redhat.com>
Fri, 26 Jun 2009 12:20:05 +0000 (14:20 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 26 Jun 2009 12:20:05 +0000 (14:20 +0200)
This is how cairo works with native children.
This fixes an issue where the drag target outline is visible on the
evolution folder treeview when it isn't with native windows.

gdk/gdkwindow.c

index c60ca61858a4a3b93d3600248d529c6d839ec1fc..077a876436bcfc71514d3abeac4cab14206f3210 100644 (file)
@@ -4417,7 +4417,7 @@ gdk_window_set_cairo_clip (GdkDrawable *drawable,
       cairo_reset_clip (cr);
 
       cairo_new_path (cr);
-      gdk_cairo_region (cr, private->clip_region);
+      gdk_cairo_region (cr, private->clip_region_with_children);
 
       cairo_restore (cr);
       cairo_clip (cr);